// 支付合约
const userAbi = {
  abi:[
    {
        "inputs": [],
        "stateMutability": "nonpayable",
        "type": "constructor"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_admin",
                "type": "address"
            }
        ],
        "name": "addAdmin",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "string",
                "name": "name",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "day",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "way",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "rate",
                "type": "uint256"
            },
            {
                "internalType": "bool",
                "name": "isActive",
                "type": "bool"
            }
        ],
        "name": "addTime",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "admins",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "string",
                "name": "name",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "describe",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "phone",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "icon",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "other",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "tipRate",
                "type": "uint256"
            }
        ],
        "name": "applyTrader",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "trader",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "status",
                "type": "uint256"
            }
        ],
        "name": "auditTrader",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address[]",
                "name": "traderArr",
                "type": "address[]"
            }
        ],
        "name": "batchAuditTrader",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address[]",
                "name": "traderArr",
                "type": "address[]"
            }
        ],
        "name": "batchRefuseTrader",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "c2cTotal",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "usdt",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vds",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "buyTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "sellTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtTip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vdsTip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vdsFee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtFee",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            }
        ],
        "name": "deleteTime",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "start",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "end",
                "type": "uint256"
            }
        ],
        "name": "getAllTimeIds",
        "outputs": [
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getPlatformParam",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getPlatformParamC2C",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            }
        ],
        "name": "getTime",
        "outputs": [
            {
                "components": [
                    {
                        "internalType": "uint256",
                        "name": "id",
                        "type": "uint256"
                    },
                    {
                        "internalType": "string",
                        "name": "name",
                        "type": "string"
                    },
                    {
                        "internalType": "uint256",
                        "name": "day",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "way",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "rate",
                        "type": "uint256"
                    },
                    {
                        "internalType": "bool",
                        "name": "isActive",
                        "type": "bool"
                    }
                ],
                "internalType": "struct UserLoan.Time",
                "name": "",
                "type": "tuple"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "way",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "start",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "end",
                "type": "uint256"
            }
        ],
        "name": "getTimesByWay",
        "outputs": [
            {
                "components": [
                    {
                        "internalType": "uint256",
                        "name": "id",
                        "type": "uint256"
                    },
                    {
                        "internalType": "string",
                        "name": "name",
                        "type": "string"
                    },
                    {
                        "internalType": "uint256",
                        "name": "day",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "way",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "rate",
                        "type": "uint256"
                    },
                    {
                        "internalType": "bool",
                        "name": "isActive",
                        "type": "bool"
                    }
                ],
                "internalType": "struct UserLoan.Time[]",
                "name": "",
                "type": "tuple[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "page",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "pageSize",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "status",
                "type": "uint256"
            }
        ],
        "name": "getTradersByStatus",
        "outputs": [
            {
                "components": [
                    {
                        "internalType": "address",
                        "name": "owner",
                        "type": "address"
                    },
                    {
                        "internalType": "string",
                        "name": "icon",
                        "type": "string"
                    },
                    {
                        "internalType": "string",
                        "name": "name",
                        "type": "string"
                    },
                    {
                        "internalType": "string",
                        "name": "phone",
                        "type": "string"
                    },
                    {
                        "internalType": "string",
                        "name": "describe",
                        "type": "string"
                    },
                    {
                        "internalType": "uint256",
                        "name": "tipRate",
                        "type": "uint256"
                    },
                    {
                        "internalType": "string",
                        "name": "other",
                        "type": "string"
                    },
                    {
                        "internalType": "uint256",
                        "name": "createTime",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "status",
                        "type": "uint256"
                    },
                    {
                        "internalType": "uint256",
                        "name": "amount",
                        "type": "uint256"
                    }
                ],
                "internalType": "struct UserLoan.Trader[]",
                "name": "",
                "type": "tuple[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "isAudit",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_addr",
                "type": "address"
            }
        ],
        "name": "isTarder",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "minFee",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "owner",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "perPayTime",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "ratio1",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "ratio2",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "ratio3",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "ratioC1",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "ratioC2",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "ratioC3",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_admin",
                "type": "address"
            }
        ],
        "name": "removeAdmin",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            },
            {
                "internalType": "bool",
                "name": "isActive",
                "type": "bool"
            }
        ],
        "name": "setActive",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_amount",
                "type": "uint256"
            }
        ],
        "name": "setAmount",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bool",
                "name": "_isAudit",
                "type": "bool"
            }
        ],
        "name": "setAudit",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "rate",
                "type": "uint256"
            }
        ],
        "name": "setMinFee",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_day",
                "type": "uint256"
            }
        ],
        "name": "setPerDays",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_addr1",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "_addr2",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "_addr3",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "_fee1",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_fee2",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_fee3",
                "type": "uint256"
            }
        ],
        "name": "setPlatformParam",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_addr1",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "_addr2",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "_addr3",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "_fee1",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_fee2",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_fee3",
                "type": "uint256"
            }
        ],
        "name": "setPlatformParamC2C",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_ratio1",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_ratio2",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_ratio3",
                "type": "uint256"
            }
        ],
        "name": "setRatio",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_ratio1",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_ratio2",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "_ratio3",
                "type": "uint256"
            }
        ],
        "name": "setRatioC2C",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "tarderAmount",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "tarderTotal",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "usdt",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vds",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "lendTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "borrowTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "tip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "fee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtFee",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "tarderTotalC2C",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "usdt",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vds",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "buyTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "sellTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtTip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vdsTip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vdsFee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtFee",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_amount",
                "type": "uint256"
            }
        ],
        "name": "tipShareProfit",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_amount",
                "type": "uint256"
            }
        ],
        "name": "tipShareProfitC2C",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_amount",
                "type": "uint256"
            }
        ],
        "name": "tipShareProfitC2CVDS",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "total",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "usdt",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vds",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "lendTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "borrowTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "tip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "fee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtFee",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "traderList",
        "outputs": [
            {
                "internalType": "address",
                "name": "owner",
                "type": "address"
            },
            {
                "internalType": "string",
                "name": "icon",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "name",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "phone",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "describe",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "tipRate",
                "type": "uint256"
            },
            {
                "internalType": "string",
                "name": "other",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "createTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "status",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "_person",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "_amount",
                "type": "uint256"
            }
        ],
        "name": "transferAmount",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            },
            {
                "internalType": "string",
                "name": "name",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "day",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "way",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "rate",
                "type": "uint256"
            },
            {
                "internalType": "bool",
                "name": "isActive",
                "type": "bool"
            }
        ],
        "name": "updateTime",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "amountVDS",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "orderType",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "tip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "platformFee",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "lender",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "borrower",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "tarder",
                "type": "address"
            }
        ],
        "name": "updateTotal",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "orderType",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "getAmount",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "fee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "tip",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "_owner",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "_sender",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "_tarder",
                "type": "address"
            }
        ],
        "name": "updateTotalC2C",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "string",
                "name": "icon",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "name",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "phone",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "describe",
                "type": "string"
            },
            {
                "internalType": "uint256",
                "name": "tipRate",
                "type": "uint256"
            },
            {
                "internalType": "string",
                "name": "other",
                "type": "string"
            }
        ],
        "name": "updateTraderInfo",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "orderType",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "tip",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "borrower",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "tarder",
                "type": "address"
            }
        ],
        "name": "updateUsdtTotal",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "_type",
                "type": "uint256"
            },
            {
                "internalType": "string",
                "name": "value",
                "type": "string"
            }
        ],
        "name": "updateUserInfo",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bool",
                "name": "isCloseOut",
                "type": "bool"
            }
        ],
        "name": "updateUserIsClose",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "tarder",
                "type": "address"
            }
        ],
        "name": "updateUserTarder",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "orderType",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "borrower",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "tarder",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "platformFee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "amountVDS",
                "type": "uint256"
            }
        ],
        "name": "updateVdsTotal",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "userList",
        "outputs": [
            {
                "internalType": "address",
                "name": "owner",
                "type": "address"
            },
            {
                "internalType": "string",
                "name": "icon",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "name",
                "type": "string"
            },
            {
                "internalType": "string",
                "name": "describe",
                "type": "string"
            },
            {
                "internalType": "bool",
                "name": "isCloseOut",
                "type": "bool"
            },
            {
                "internalType": "address",
                "name": "trader",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "userTotal",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "usdt",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vds",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "lendTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "borrowTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "tip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "fee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtFee",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "userTotalC2C",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "usdt",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vds",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "buyTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "sellTime",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtTip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vdsTip",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "vdsFee",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "usdtFee",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    }
]
}
export { userAbi }